;; -*- lexical-binding: t -*-

;; 初始化前把这个值放大，不让emacs触发gc，doom里抄的

(defvar last-file-name-handler-alist file-name-handler-alist)
(setq gc-cons-threshold 402653184
      gc-cons-percentage 0.6
      file-name-handler-alist nil)

;; -------


(add-to-list 'load-path (expand-file-name "lisp" user-emacs-directory))

(require 'init-basic)


;; 初始化后恢复 doom里抄的
(setq gc-cons-threshold 16777216
        gc-cons-percentage 0.1
        file-name-handler-alist last-file-name-handler-alist)
;;-------
